﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;

namespace Model
{
    public class MySchooldbContext : DbContext
    {
        public MySchooldbContext(DbContextOptions<MySchooldbContext> option) : base(option) 
        {

        }
        public DbSet<Grades> Grades { get; set; }
        public DbSet<Department> Department { get; set; }
        public DbSet<Positions> Positions { get; set; }
        public DbSet<Students> Students { get; set; }
    }
}
